package com.edu.hubu.graduationdesign.service.impl;

import com.edu.hubu.graduationdesign.mapper.IdleAdvertisingMapper;
import com.edu.hubu.graduationdesign.entity.IdleAdvertising;
import com.edu.hubu.graduationdesign.service.IdleAdvertisingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description:
 * @date: 2022/1/21 17:59
 * @author: towards
 * @since JDK 1.8
 */
@Service
public class IdleAdvertisingServiceImpl implements IdleAdvertisingService {

    @Resource
    IdleAdvertisingMapper idleAdvertisingMapper;


    @Override
    public List<IdleAdvertising> listAll() {
        List<IdleAdvertising> advertisingList = idleAdvertisingMapper.selectList(null);
        return advertisingList;
    }
}
